﻿<Page
    x:Class="ISolutions.xRM.TechDays.ContactCard.CreateContact"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel VerticalAlignment="Center">
            <Button  Margin="10"  HorizontalAlignment="Center" Click="AddImage" x:Name="imageButton" >
                <Image Stretch="Uniform" Height="144" Width="144" Source="Assets/StoreLogo.png" x:Name="ContactImage" />
            </Button>
            <StackPanel Orientation="Horizontal" Margin="10">
                <TextBlock HorizontalAlignment="Left" FontSize="20" Margin="10" TextWrapping="Wrap" Text="Firstname" VerticalAlignment="Top"/>
                <TextBox HorizontalAlignment="Left" TextWrapping="Wrap" x:Name="Firstname" VerticalAlignment="Top" Width="361"/>
            </StackPanel>
            <StackPanel Orientation="Horizontal" Margin="10">
                <TextBlock HorizontalAlignment="Left" FontSize="20" Margin="10" TextWrapping="Wrap" Text="Lastname" VerticalAlignment="Top"/>
                <TextBox HorizontalAlignment="Left" TextWrapping="Wrap" x:Name="Lastname" VerticalAlignment="Top" Width="361"/>
            </StackPanel>
            <Button Margin="10" Content="Create"  x:Name="CreateButton" HorizontalAlignment="Left" VerticalAlignment="Top" Click="Create" Height="65" Width="150"/>
        </StackPanel>
    </Grid>
</Page>